package com.restfb.etl.mundo;

import static java.lang.String.format;

import java.util.List;

import com.restfb.Facebook;

public class CommentListado 
{
	  @Facebook("can_remove")
	  public boolean can_remove;

	  @Facebook("can_post")
	 public  boolean can_post;
	  
	  @Facebook("count")
	 public  long count;
	  
	  @Facebook
	  public List<Comment> comment_list;

	  
	  
	  public String toString() 
	    {
	    	String comments = "";
	    	for(Comment c: comment_list)
	    	{
	    		comments += "\n "+c;
	    	}
	      return format("\nCuenta: %s \n Comments: %s \nPuede Postear: %s\nPuede eliminar: %s", count, comments, can_post, can_remove);
	    }
	  
}
